<template>
	<!-- 轮播 -->
	<swiper :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000">
		<swiper-item>
		<image class="swiper-img" src="../../static/img/1.webp" mode=""></image>
		</swiper-item>
		<swiper-item>
			<image class="swiper-img" src="../../static/img/2.webp" mode=""></image>
		</swiper-item>
	</swiper>
</template>

<script>
	
</script>

<style scoped>
	swiper{
		width: 100%;
		height: 400rpx;
		/* 因为app有默认高度150px所以需要单独整出来 */
	}
	.swiper-img{
		width: 100%;
		height: 400rpx;
	}
</style>